<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            background-color: #000;
        }
        .wrapper{
            width: 640px;
            height: 402px;
            margin: 100px auto;
            border: 1px solid #fff;
        }
        img{
            float: left;
            width: 200px;
            height: 186px;
            margin: 10px 0 0 10px;
        }
    </style>
</head>
<body>
    <div class="wrapper"></div>

    <script src="../jquery/jquery.min.js"></script>
    <script>
        var str = '';
        for (var i = 1; i < 7; i++) {
            str += '<img src="../image/jQuery/0' + i + '.jpg" alt="">';
        }
        $('.wrapper').html(str);

        // 鼠标覆盖突出重点
        $('.wrapper').on('mouseenter', 'img', function () {
            $(this).css('opacity', '1').siblings().css('opacity', '.3')
        })

        $('.wrapper').on('mouseleave', function () {
            $('img').css('opacity', '1')
        })
    </script>
</body>
</html>